package rtlmmap

type FTView struct {
	View
	Index int
	ftco  *FTco
}

func (self *View) FTV(port int) *FTView {
	ftco := self.GetFTco()
	return &FTView{View: *self, Index: port, ftco: ftco}
}

func (self *FTView) ResetPPM()                         { self.ftco.ResetPPM() }
func (self *FTView) InitPPM()                          { self.ftco.InitPPM() }
func (self *FTView) PPMT(df float64)                   { self.ftco.PPMT(df) }
func (self *FTView) PPMAbs(df float64)                 { self.ftco.PPMAbs(df) }
func (self *FTView) PPMF(df float64, timingFirst bool) { self.ftco.PPMF(df, timingFirst) }
func (self *FTView) FrameStartAdjust(adj int64) uint64 { return self.ftco.FrameStartAdjust(adj) }
func (self *FTView) GetTuner() (float64, float64)      { return self.ftco.GetTuner() }
func (self *FTView) SetTuner(ppm, dfr float64)         { self.ftco.SetTuner(ppm, dfr) }
func (self *FTView) SetDf(df float64)                  { self.ftco.SetDf(df) }
func (self *FTView) GetDf() float64                    { return self.ftco.GetDf() }
func (self *FTView) SetDt(df float64)                  { self.ftco.SetDt(df) }
func (self *FTView) GetDt() float64                    { return self.ftco.GetDt() }
